import qrcode


def generate_qr_code(config_content: str, file_path: str):
    try:
        img = qrcode.make(config_content)
        img.save(file_path)
        return True
    except Exception:
        return False
